home views hello.php

<form action="/home/hello/world" method="post">
    <input type="text" name="name" id="name">
    <input type="text" name="pwd" id="pwd">
    <button type="submit">提交</button>
</form>

<?= dump($data) ?>